<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>
    <class name="com.ogilvy.cms.bean.CmsDictionary" table="CMS_DICTIONARY" >
        <id name="cmdId" type="java.lang.Integer">
            <column name="CMD_ID" />
            <generator class="native"/>
        </id>
        <property name="parentCmdId" type="java.lang.Integer">
            <column name="PARENT_CMD_ID" not-null="true" />
        </property>
        <property name="cmdName" type="java.lang.String">
            <column name="CMD_NAME" length="100" not-null="true" />
        </property>
        <property name="cmdValue" type="java.lang.String">
            <column name="CMD_VALUE" length="100" />
        </property>
        <property name="cmdDesc" type="java.lang.String">
            <column name="CMD_DESC" length="200" />
        </property>
        <property name="cmdOrderVal" type="java.lang.Integer">
            <column name="CMD_ORDER_VAL" />
        </property>
        <property name="cmdValue2" type="java.lang.String">
            <column name="CMD_VALUE2" length="100" />
        </property>
        <property name="cmdValue3" type="java.lang.String">
            <column name="CMD_VALUE3" length="100" />
        </property>
        <property name="cmdPubStatus" type="java.lang.Integer">
            <column name="CMD_PUB_STATUS" />
        </property>
        <property name="cmdAdduser" type="java.lang.String">
            <column name="CMD_ADDUSER" length="50" not-null="true"/>
        </property>
        <property name="cmdAddtime" type="java.util.Date">
            <column name="CMD_ADDTIME" not-null="true"/>
        </property> 
        <property name="cmdLastuser" type="java.lang.String">
            <column name="CMD_LASTUSER" length="50" />
        </property>
        <property name="cmdLasttime" type="java.util.Date">
            <column name="CMD_LASTTIME" /> 
        </property> 
    </class>
</hibernate-mapping>
